package com.leizi.igym.constant;

import java.util.Arrays;
import java.util.List;

/**
 * @Author: leizi0110
 * @CreateTime: 2024-04-22  17:02
 * @Description:
 */

public interface PostConstant {
    String POST_COLLECTED_REDIS_PREFIX = "collected::";
    String POST_LIKED_REDIS_PREFIX = "liked::";

    Integer LIKED = 1;
    Integer UNLIKED = 0;
    Integer COLLECTED = 1;
    Integer NOT_COLLECTED = 0;

    List<Integer> LIKE_LIST = Arrays.asList(LIKED, UNLIKED);
    List<Integer> COLLECT_LIST = Arrays.asList(COLLECTED, NOT_COLLECTED);
}
